
module.exports = {
  login: {
    notice: {
      loading: '登录中, 请稍候...',
      input_err: '用户名或密码错误, 请重试',
      err: '服务器或网络错误, 请稍后重试!',
    },
    info: [
      {label: '系统版本', value: '--'},
      {label: '运行时间', value: '--'},
      {label: '系统型号', value: '--'},
    ],
    username: "请输入用户名",
    password: "请输入密码",
  },
  layout: {
    header: {
      title: '首页',
      menu: {
        close: {
          show: false,
          list: ['重新启动', '复位', '定时重启'],
        },
        info: {
          show: false,
          list: ['切换语言', '修改管理员密码', '注销']
        },
      },
    },
    nav: [
      { label: '首页', path: '/home' },
      { label: '网络', path: '/network' },
      { label: '无线设置', path: '/wifi' },
      { label: '高级设置', path: '/advanced' },
      { label: '服务与应用', path: '/service' },
      { label: '系统设置', path: '/system' },
      { label: '系统工具', path: '/utils' },
    ],
    footer: ['系统型号', 'IP地址', 'MAC地址', '系统版本', '系统工作模式',
    '系统时间', '运行时间', '授权状态', '已授权', '未授权'],
    dialog: {
      title: '密码服务',
      old: '旧密码',
      new: '新密码',
      confirm_new: '确认新密码',
      tip: "关闭",
    }
  },
  treeMenu: [
    { label: '首页', path: '/home', },
    { label: '网络', path: '/network',
      children: [
        { label: 'WAN', path: "wan"},
        { label: '3G/4G', path: 'net_type'},
        { label: 'LAN', path: 'lan'},
        { label: 'DHCP', path: 'dhcp'},
        { label: '静态路由', path: 'router'},
        { label: '终端管理', path: 'terminal'},
        { label: 'QoS限速', path: 'qos'},
        { label: 'NAT加速', path: 'nat'},
      ]
    },
    { label: '无线设置', path: '/wifi',
      children: [
        { label: '2.4G', path: "2.4g"},
        { label: '访客网络', path: 'visitor'},
        { label: '信号调节', path: 'signal'},
      ]
    },
    { label: '高级设置', path: '/advanced',
      children: [
        { label: '安全设置', path: "security"},
        { label: 'DMZ主机', path: 'dmz_host'},
        { label: '动态DDNS', path: 'ddns'},
        { label: '端口转发', path: 'dispatch'},
        { label: '黑白名单', path: 'nameList'},
      ]
    },
    { label: '服务与应用', path: '/service',
      children: [
        { label: '云登录', path: "cloud_login"},
        { label: '云管理', path: "cloud_control"},
        { label: 'VPN 客户端', path: 'vpn'},
        { label: '认证服务', path: 'certification'},
        { label: '磁盘管理', path: 'disk'},
        { label: '文件共享', path: 'file'},
      ]
    },
    { label: '系统设置', path: '/system',
      children:[
        { label: '系统更新', path: "update"},
        { label: '备份恢复', path: 'backup'},
        { label: '常规设置', path: 'settings'},
      ]
    },
    { label: '系统工具', path: '/utils',
      children: [
        { label: '网络诊断', path: "diagnostics"},
        { label: '基站勘察', path: 'investigate'},
      ]
    },
  ],
  home: {
    btn: ['终端设备', '互联网'],
    device_header: '设备状态',
    device: [
      { label: 'cpu使用率', value: '15%' },
      { label: '内存使用率', value: '34%' },
      { label: '系统负载', value: '0.47, 0.39, 0.35' },
      { label: '在线终端数', value: 5 },
    ],
    chart: {
      header: 'WAN口流量信息',
      y_title: '实时流量图',
      tx: '上行流量',
      rx: '下行流量',
    },
    interface: {
      head: ['接口状态', 'WAN', 'LAN'],
      list: [
        { name: 'MAC地址', wan: '78:a3:51:53:3e:44', lan: '78:a3:51:53:3e:44' },
        { name: 'IP地址', wan: '78:a3:51:53:3e:44', lan: '78:a3:51:53:3e:44' },
        { name: '单位子掩码', wan: '78:a3:51:53:3e:44', lan: '78:a3:51:53:3e:44' },
        { name: '上网方式/网关', wan: '78:a3:51:53:3e:44', lan: '78:a3:51:53:3e:44' },
        { name: 'DNS服务器', wan: '78:a3:51:53:3e:44', lan: '78:a3:51:53:3e:44' },
      ],
      head_4G: ['接口状态', "4G信息", ],
      list_4G: [
        { label: '4G运营商', value: '--' },
        { label: '信号强度', value: '--', type: "img", },
        { label: 'SIM卡卡号', value: '--', },
        { label: '设备型号', value: '--', },
        { label: 'IMEI', value: '--', },
        { label: "连接状态", value: "--", },
      ],
      head_wifi: ['接口状态', 'wifi连接信息'],
      list_wifi: [
        { label: 'MAC地址', value: '--' },
        { label: 'IP地址', value: '--', },
        { label: '单位子掩码', value: '--', },
        { label: '上网方式/网关', value: '--', },
        { label: 'DNS服务器', value: '--', },
      ],
      connectStatus: ["未连接", "已连接"],
    },
    protoMap: {
      static: "固定IP",
      pppoe: "PPPoE拨号",
      dhcp: "自动获取",
    },
    wifiStatus: [
      { label: '无线状态', value: '2.4G' },
      { label: '网络名称', value: 'WPA-PSK + WPA2-PSK' },
      { label: '加密方式', value: '78:A3:51:53:3E:42'},
      { label: '信道', value: '78:A3:51:53:3E:42'},
      { label: 'MAC地址', value: '78:A3:51:53:3E:42'},
      // { label: '访问网络', value: false },
      { label: '访客网络名称', value: '--' }
    ],
    none_secure: '不加密',
    chart_tip: {
      time: '统计时间',
      upstream: '上行流量',
      downstream: '下行流量',
    }
  },
  network: {
    tabs: [
      { label: 'WAN', path: "wan"},
      { label: '3G/4G', path: 'net_type'},
      { label: 'LAN', path: 'lan'},
      { label: 'DHCP', path: 'dhcp'},
      { label: '静态路由', path: 'router'},
      { label: '终端管理', path: 'terminal'},
      { label: 'QoS限速', path: 'qos'},
      { label: 'NAT加速', path: 'nat'},
    ],
    wan: {
      proto_label: '协议类型',
      protocols: [
        { label: '自动获取', value: 'dhcp' },
        { label: 'PPPoE拨号', value: 'pppoe' },
        { label: '固定IP', value: 'static' },
      ],
      dns_tip: "如果不填写，将使用系统默认域名服务器",
      fields_dhcp: [ '首选DNS服务器', '备选DNS服务器' ],
      fields_pppoe: ['PPPoE账号', 'PPPoE密码',  '首选DNS服务器', '备选DNS服务器'],
      // btns: ['保存', '断开', '重连', 'PPPoE探测', '查看日志'],
      btns: ['保存', '断开', '重连', 'PPPoE探测', ],
      fields_static: ['IP地址', '子网掩码', '网关', '首选DNS服务器', '备选DNS服务器'],
      info: {
        title: 'WAN口状态信息',
        head: ['协议类型','IP地址','MAC地址','当前上行流量',
        '当前下行流量','上行总流量','下行总流量','运行时间'],
        value: [
          '自动获取','192.168.1.67','78:a3:51:53:32:1c','204.25B',
          '187.5B','2.38GB','15.64GB','--'
        ]
      },
      detection: "pppoe探测信息",
      toolbar: '您可以配置访问 Internet 的网络接口。',
    },
    net_type: {
      form: [
        {label: '4G上网优先', type: 'switch' },
        {label: '拨号方式', type: 'select' },
        {label: '国家/地区', type: 'select' },
        {label: 'ISP', type: 'select' },
        {label: 'APN 服务器（选填）', type: 'input' },
        {label: '连线号码', type: 'input' },
        {label: 'PIN码', type: 'input' },
        {label: '账号', type: 'input' },
        {label: '密码', type: 'input' },
      ],
      dial: [
        {label: 'PPP', value: ''},
        {label: 'GobiNet', value: ''},
        {label: 'USB_DHCP', value: ''},
        {label: 'QMI', value: ''},
      ],
      area: ['China', 'Australia', 'Brazil', 'Brunei', 'Canada'],
      isp: [
        {label: 'China Unicon 3G/4G', value: ''},
        {label: 'China Mobile 3G/4G', value: ''},
        {label: 'China Telecom 3G', value: ''},
        {label: 'China Telecom 4G', value: ''},
      ],
      operate: '高级选项',
      operate_fold: '收起高级选项',
      info1: {
        title: '3G/4G信号',
        head: ['4G运营商', 'SIM卡卡号', '设备型号', 'IMEI', '信号强度',],
        distributed: [100, 150, 100, 100, 50]
      },
      info2: {
        title: '3G/4G状态信息',
        head: ['设备名称/IP地址', 'MAC地址', '上行总流量', '下行总流量', '运行时间'],
        distributed: [150, 120, 100, 100, 100]
      },
      module_tx_traffic: "模块上行流量",
      module_rx_traffic: "模块下行流量",
      log: '日志信息',
      toolbar: '注：开启按钮，则优先使用4G上网，否则优先使用WAN口上网',
    },
    lan: {
      fields: ['IP地址', '子网掩码'],
      info: {
        title: 'LAN口状态信息',
        head: ['协议类型','IP地址','MAC地址','当前上行流量',
        '当前下行流量','上行总流量','下行总流量','运行时间'],
        value: [
          '自动获取','192.168.1.67','78:a3:51:53:32:1c','204.25B',
          '187.5B','2.38GB','15.64GB','--',
        ]
      },
      toolbar: '在此页面，您可以配置网络接口',
    },
    dhcp: {
      form: [
        { label: '启用DHCP', tip: '启用DHCP时，ip结束值必须比起始值大，且相差10以上'},
        { label: 'DHCP分配IP起始值', tip: 'ip起始值，范围：1-254，起始值默认100'},
        { label: 'DHCP分配IP结束值', tip: 'ip结束值，范围：1-254，结束值默认250'},
        { label: 'DHCP分配时长', tip: 'DHCP分配时长建议设置为2分钟---48小时'},
      ],
      time_options: [
        {label: '小时', value: 'h'},
        {label: '分钟', value: 'm'},
      ],
      info1: {
        title: '已分配的 DHCP 租约',
        head: ['主机名称', 'IP地址', 'MAC地址', '剩余租期'],
      },
      info2: {
        title: 'DHCP 静态地址分配',
        head: ['', '主机名称', 'IP地址', 'MAC地址', '操作'],
        operate: ['批量添加', '批量删除'],
        add: '添加'
      },
      toolbar: '在此页面，您可以配置网络接口',
      batch: {
        title: '批量添加',
        list: ['主机地址', 'IP地址', 'MAC地址'],
        tips: ['注：多个IP地址，每个占一行，ip地址格式如 192.168.0.100',
          '注：多个IP地址，每个占一行，ip地址格式如 192.168.0.100',
          '注：多个IP地址，每个占一行，ip地址格式如 192.168.0.100',
        ],
      },
      resultMap: {
        "1": "修改dhcp信息成功",
        "-4": "IP值不在规定范围内，请重新输入",
        "-6": "IP结束值必须大于IP起始值",
      }
    },
    router: {
      info1: {
        add: '添加',
        title: '静态 IPv4 路由列表',
        head: ['接口', '主机IP或网络', '子网掩码', '网关', '跃点数', '操作'],
      },
      info2: {
        title: '活动的 IPv4 路由',
        head: ['网络', '网关', '对象', '活跃点数']
      },
    },
    terminal: {
      info1: {
        operate: '禁止接入',
        title: '当前连接设备',
        head: ['网络名称', 'IP地址', 'MAC地址', 'RSS10/RSS11', '连接速率/频宽', '操作'],
      },
      info2: {
        title: 'ARP',
        head: ['IP地址', 'MAC地址','接口'],
      }
    },
    qos: {
      field: '启用QoS限速',
      info: {
        title: 'Qos规则列表：（最多支持32条规则）',
        head: ['限速对象','上传带宽Mb/s','下载带宽Mb/s','描述', '操作'],
        operate: '添加'
      },
      toolbar: {
        head: '限速对象可以为IP或者地址段',
        label1: '例如',
        ip: ['192.168.1.1','192.168.1.100-192.168.1.200','192.168.1.1/24','192.168.1.1/255.255.255.0'],
        label2: '提示',
        tip: 'QoS限速功能生效，必须关闭设备的硬件NAT加速，点击',
        close: '关闭NAT'
      },
    },
    nat: {
      field: '启用NAT加速',
      // toolbar: ['开启或关闭硬件NAT加速，设备会重启', 'NAT加速的开启会影响QOS等功能'],
      toolbar: ['开启或关闭硬件NAT加速', 'NAT加速的开启会影响QOS等功能'],
    },
  },
  wifi: {
    tabs: [
      { label: '2.4G', path: "2.4g"},
      { label: '5G', path: "5g"},
      { label: '访客网络', path: 'visitor'},
      { label: '信号调节', path: 'signal'},
      { label: '扫描WiFi', path: 'scan', },
    ],
    _24g: {
      form1: {
        title: '2.4G无线配置',
        fields: [
          { label: '是否启用', type: 'switch' },
          // 此处operate文字需要切换
          { label: '2.4G无线名称', type: 'input', operate: ['隐藏无线名称', '显示无线名称']},
          { label: '信道', type: 'select'},
          { label: '频宽', type: 'select'},
          { label: '加密方式', type: 'select'},
          { label: '工作模式', type: 'select'},
          { label: '2.4G无线密码', type: 'input', operate: ['查看', '取消']},
          { label: '分片阈值', type: 'input', tip: "范围：256-2346"},
          { label: 'RTS/CTS 阈值', type: 'input', tip: "范围：1-2347"},
          { label: 'WMM模式', type: 'switch' },
          { label: '隔离客户端', type: 'switch' },
        ],
        select_channel: ['自动', '1 (2.412 GHz)', '2 (2.417 GHz)', '3 (2.422 GHz)',
        '4 (2.427 GHz)', '5 (2.432 GHz)', '6 (2.437 GHz)', '7 (2.442 GHz)',
        '8 (2.447 GHz)', '9 (2.452 GHz)', '10 (2.457 GHz)', '11 (2.462 GHz)',
         '12 (2.467 GHz)', '13 (2.472 GHz)', ],
        select_channel_5g: [
          { label: "自动选择", value: "0"},
          { label: "36 (5.180GHz)", value: '36'},
          { label: "40 (5.200GHz)", value: '40'},
          { label: "44 (5.220GHz)", value: '44'},
          { label: "48 (5.240GHz)", value: '48'},
          { label: "52 (5.260GHz)", value: '52'},
          { label: "56 (5.280GHz)", value: '56'},
          { label: "60 (5.300GHz)", value: '60'},
          { label: "64 (5.320GHz)", value: '64'},
          // { label: "100 (5.500GHz)", value: '100'},
          // { label: "104 (5.520GHz)", value: '104'},
          { label: "149 (5.745GHz)", value: '149'},
          { label: "153 (5.765GHz)", value: '153'},
          { label: "157 (5.785GHz)", value: '157'},
          { label: "161 (5.805GHz)", value: '161'},
          { label: "165 (5.825GHz)", value: '165'},
        ],
        select_encryption: [
          { label: '不加密', value: 'none', },
          { label: 'WPA-PSK', value: 'psk', },
          { label: 'WPA-PSK + WPA2-PSK', value: 'psk-mixed', },
          { label: 'WPA-PSK + WPA2-PSK + CCMP', value: 'psk-mixed+ccmp', },
        ],
        select_bandwidth: [
          { label: 'HT20', value: 'ht20'},
          { label: 'HT40', value: 'ht40'},
          { label: 'HT80', value: 'ht80'},
        ],
        select_workmode: [
          { label: 'N', value: '11N'},
          { label: 'Legacy', value: '-1'},
        ],
        fold: '收起2.4G高级选项',
        unfold: '2.4G高级选项',
        save: '保存'
      },
      form2: {
        title: '2.4G无线MAC黑白名单',
        fields: [
          { label: 'MAC过滤', type: 'select'},
          { label: 'MAC地址列表', type: 'textarea',
          tip: '注：多个MAC地址，每个占一行，mac地址格式如 00:11:22:33:44:55'},
        ],
        select_mac_filter: [
          { label: '不启用', value: 'disable'},
          { label: '启用黑名单', value: 'deny'},
          { label: '启用白名单', value: 'allow'},
        ],
        save: '保存'
      }
    },
    visitor: {
      info: {
        title: '访客网络名称',
        head: ['无线模式','访客网络名称','状态','操作'],
        operate: '保存'
      },
    },
    signal: {
      wifi_select: [
        { label: '绿色节能模式', value: 'low'},
        { label: '标准模式', value: 'medium'},
        { label: '穿墙模式', value: 'high'},
      ],
      field: '信号调节模式',
      toolbar: [
        '注：绿色节能模式，减弱WIFI信号，更节能环保',
        '注：标准模式，标准WIFI信号，满足日常上网需求',
        '注：穿墙模式，增强WIFI信号，提升WIFI穿墙能力',
      ],
    },
    scan: {
      fields: [
        { label: '是否启用', type: 'switch', },
        { label: '无线名称', type: '', },
        { label: 'MAC地址', type: '', },
        { label: '加密方式', type: '', },
        { label: '密码', type: '', },
      ],
      info1: {
        title: '扫描信息',
        head: ['无线名称', ' MAC地址', '加密方式', '信号强度', '操作'],
        distributed: [80, 70, 80, 80, 50],
      },
      connect: "连接WiFi",
      info2: {
        title: 'ap状态信息',
        head: ['无线名称', 'MAC地址', 'IP地址', '下行流量', '上行流量', '运行时间',],
        distributed: [80, 80, 80, 60, 60, 60],
      },
    },
  },
  advanced: {
    tabs: [
      { label: '安全设置', path: "security"},
      { label: 'DMZ主机', path: 'dmz_host'},
      { label: '动态DDNS', path: 'ddns'},
      { label: '端口转发', path: 'dispatch'},
      // { label: '黑白名单', path: 'nameList'},
      { label: '网络看门狗', path: 'netwatchdog'},
    ],
    pages: [
      { fields: ['启用防火墙', '启用SYN-FLOOD', '禁用ipv6',
      '开启重定向', '启用来自WAN口的Ping'] },
      { fields: ['启用DMZ主机','内网IP'] },
      {
        fields: ['启用动态DDNS','DDNS服务商','域名','账号','密码', '备注'],
      },
      {
        field: '启用端口转发',
        info: {
          title: '自定义端口转发规则列表（最大规则数10）:',
          head: ['外部端口','内网IP','内部端口','协议类型','操作'],
        }
      },
      {
        fields: ['启用黑名单', '启用白名单'],
        toolbar: [
          '注：多个地址，每个占一行',
          'ip地址格式如192.168.1.100',
          'mac地址格式如 00:11:22:33:44:55',
        ]
      },
      {
        fields: [
          { label: "4G优先", type: "switch", },
          { label: "检测地址1", type: "input", tip: "填写外网IP地址或域名" },
          { label: "检测地址2", type: "input", tip: "填写外网IP地址或域名" },
          { label: "检测间隔", type: "input", tip: "ping检测间隔" },
          { label: "执行动作", type: "select", },
        ],
        netdogExeOptions: [
          { label: "无动作", value: "none", },
          { label: "重启网络", value: "netrestart", },
          { label: "重启系统", value: "sysrestart", },
        ]
      }
    ]
  },
  service: {
    tabs: [
      { label: '云登录', path: "/service/cloud_login"},
      { label: '云管理', path: "/service/cloud_control"},
      { label: 'VPN 客户端', path: '/service/vpn'},
      { label: '认证服务', path: '/service/certification'},
      { label: '磁盘管理', path: '/service/disk'},
      { label: '文件共享', path: '/service/file'},
      { label: "PPTP", path: "/service/pptp", },
      { label: "L2TP", path: "/service/l2tp", },
      { label: "OPENVPN", path: "/service/openvpn", },
      { label: "MPTCP", path: "/service/mltcp", },
      { label: "TUNNEL", path: "/service/tunnel", },
    ],
    cloud: {
      form1: {
        title: '云登录',
        fields: [
          { label: "是否开启云登录", type: "switch", },
          { label: '连接状态', type: 'text', },
          { label: '云登录标识', type: 'input', operate: '修改'},
          { label: '远程Web地址', type: 'text_link'},
        ],
        login_status: ["已登录", "未登录"],
      },
      form2: {
        title: '云管理',
        fields: [
          { label: '云集中管理平台的账号', type: 'input', operate: '注册/登录' },
          { label: '设备备注', type: 'input'},
        ]
      },
      toolbar: '注：云集中管理账号与设备填写的账号一致才能接受平台的集中管理',
    },
    pptp: {
      fields: [
        { label: "是否启用", type: "switch", },
        { label: "服务器地址", },
        { label: "服务器用户名", },
        { label: "服务器密码", },
        { label: "是否使用默认路由", type: "switch", },
      ],
      info: {
        head: ['IP地址', '接受数据流量', '发送数据流量', '运行时间'],
        distributed: [60, 60, 60, 60],
      }
    },
    l2tp: {
      fields: [
        { label: "是否启用", type: "switch", },
        { label: "服务器地址", },
        { label: "服务器用户名", },
        { label: "服务器密码", },
        { label: "是否使用默认路由", type: "switch", },
      ]
    },
    openvpn: {
      fields: [
        { label: "是否启用", type: "switch", },
        { label: "远程地址", },
        { label: "端口号", },
        { label: "CA证书", type:"textarea", },
        { label: "用户证书", type:"textarea", },
        { label: "用户密钥", type:"textarea", },
        // { label: "dev_type", type: "select", options:[
        //   { label: "tun", value: "tun", },
        //   { label: "tap", value: "tap", },
        // ] },
        // { label: "protocol", type: "select", options: [
        //   { label: "tcp", value: "tcp", },
        //   { label: "udp", value: "udp", },
        // ], },
        // { label: "client", type: "switch", },
        // { label: "resolv_retry", },
        // { label: "nobind", type: "switch",},
        // { label: "persist_key", },
        // { label: "persist_tun", },
        // { label: "user", },
        // { label: "compress", },
        // { label: "verb", type: "select", options: ['0','1','2','3','4','5','6','7','8','9','10','11',], },
        // { label: "comp_lzo", type:"select", options: [
        //   { label: "yes", value: "yes", },
        //   { label: "no", value: "no", },
        //   { label: "keepalive", value: "keepalive", },
        // ] },
        // { label: "dev_type", },
      ],
      proto_options: [
        { label: "tcp", value: "tcp"},
        { label: "udp", value: "udp"},
      ],
      dev_options: [
        { label: "tun", value: "tun", },
        { label: "tap", value: "tap", },
      ]
    },
    mltcp: {
      enable: "是否启用",
      loopback: "LOOPBACK",
      lan: "lan",
      wan: "wan",
    },
    tunnel: {
      ss_tunnel: {
        title: "ss-tunnel远端服务器配置",
        fields: [
          { label:"是否启用MPTCP", value:"switch", },
          { label:"远端服务器地址", value:"input", },
          { label:"远端服务器端口", value:"input"},
          { label:"加密方式", value:"select"},
          { label:"密码", value:"input"},
        ],
      },
      ss_redir: {
        title: "本地ss_redir服务器配置",
        fields: [
          { label:"是否启用MPTCP", value:"switch"},
          { label:"转发服务器地址", value:"input"},
          { label:"本地端口", value:"input"},
          { label:"工作模式", value:"select"},
        ],
      },
      dns: {
        title: "dns服务器配置",
        fields: [
          { label:"是否启用MPTCP功能：", value:"switch"},
          { label:"服务器地址", value:"input"},
          { label:"本地端口", value:"input"},
          { label:"工作模式", value:"select"},
          { label:"隧道对端地址", value:"input"},
        ],
      }
    },
    vpn: {
      fields: [
        { label: 'VPN客户端类型', type: 'select'},
        { label: 'VPN服务器地址', type: 'input'},
        { label: 'VPN账号', type: 'input'},
        { label: 'VPN密码', type: 'input', operate: '查看'},
        { label: 'PPTP选项', type: 'select'},
      ],
      info: {
        head: ['VPN客户端类型', 'IP地址', '接收', '发送', '运行时间'],
        distributed: [100, 100, 100, 100, 100],
      },
      log: '日志信息',
    },
    certification: {
      fields: [
        { label: '认证开关', type: 'switch'},
        { label: '网关ID', type: 'input'},
        { label: '健康检查时间间隔', type: 'input', desc: '秒', tip: '范围：60-120'},
        { label: '客户端超时', type: 'input', desc: '分钟', tip: '范围：5-100'},
        { label: '认证服务器地址', type: 'input', desc: '域名', tip: '例：www.baidu.com'},
        { label: '认证服务器端口', type: 'input', desc: '', tip: '范围：1-65535'},
        { label: '认证服务器路径', type: 'input', desc: '', tip: ''},
        { label: '认证服务器上启用SSL', type: 'switch', desc: '', tip: ''},
        { label: '认证服务器SSL端口', type: 'input', desc: '', tip: '范围：1-65535'},
        { label: '外网域名白名单', type: 'textarea', tip: '每行一个域名或IP或网段，例', green: 'www.baidu.com'},
        { label: '内网MAC白名单', type: 'textarea', tip: '每行一个MAC，例', green: '00:11:22:33:44:55'},
      ],
      toolbar: 'WiFi认证设置',
    },
    disk: {
      toolbar: [
        '1. TF卡不能热插拔，需断电后才能拔出，否则可能导致卡损坏.',
        '2. USB 磁盘拔出时，需先卸载磁盘，否则可能导致数据丢失.',
      ]
    },
    file: {
      fields: [
        { label: '启用samba文件共享服务', type: 'switch',},
        { label: '文件服务器名称', type: 'input', tip: ': 字母、数字、下划线组成'},
        { label: '访问密码', type: 'input', tip: ': 字母、数字、下划线组成'},
      ],
      toolbar: 'Samba 服务器访问账号：admin，初始密码为 admin',
    }
  },
  system: {
    tabs: [
      { label: '系统更新', path: "/system/update"},
      { label: '备份恢复', path: '/system/backup'},
      { label: '常规设置', path: '/system/settings'},
    ],
    update: {
      title: "本地固件升级",
      fields: [
        { label: '当前固件版本', type: 'entry' },
        { label: '固件升级或远程升级地址', type: 'input', pholder: '长传固件文件或填写url地址', operate: '上传', long: true, },
        { label: '固件名称', type: 'input', pholder: '固件名称', long: true, },
        { label: '是否保留配置升级', type: 'switch', },
      ],
      title1: "在线升级",
      fields1: [
        { label: "当前固件版本",  },
        { label: "最新固件版本", },
      ],
      save_select: [
        { label: '保存', value: '1', },
        { label: '不保存', value: '0', },
      ],
      latest: "当前版本已是最新版本",
      toolbar: '注：执行系统配置备份、恢复，系统固件升级等操作，需重启后生效.',
    },
    backup: {
      fields: [
        { label: '下载备份', type: 'entry', btn: '生成备份', },
        { label: '恢复配置', type: 'input', pholder: '上传备份固件文件, 并升级', operate: "上传", long: true, },
        { label: '是否保留配置升级', type: 'switch', },
        { label: '恢复出厂设置', type: 'entry', btn: '执行重置', },
      ],
      toolbar: '注：将路由器当前配置导出并保存到您的计算机，今后导入该备份文件即可恢复配置',
    },
    settings: {
      form1: {
        title: 'NTP 时间同步',
        fields: [
          { label: '启用 NTP 客户端', type: 'switch',},
          { label: '作为 NTP 服务器提供服务', type: 'switch',},
          { label: '首选 NTP 服务器', type: 'input',},
          { label: '备选 NTP 服务器', type: 'input',},
        ]
      },
      form2: {
        title: '设备定时重启',
        fields: [
          { label: '定时重启', type: 'switch',},
          { label: '重启方式', type: 'select',},
          { label: '定时重启时间', type: 'entry',},
        ]
      }
    }
  },
  utils: {
    tabs: [
      { label: '网络诊断', path: "/utils/diagnostics"},
      { label: '基站勘察', path: '/utils/investigate'},
    ],
    diagnostics: {
      // 数组对象结构 方便后期拓展和维护
      fields: [
        { label: 'IP或域名', },
        { label: '网络工具', },
        { label: '协议类型', },
      ],
      select_host: [
        { label: 'www.baidu.com', value: ''},
        { label: 'www.163.com', value: ''},
        { label: 'www.qq.com', value: ''},
        { label: 'www.sina.com', value: ''},
        { label: 'www.1688.com', value: ''},
      ],
      select_checkmode: [

      ],
      select_protocoltype: [

      ],
      log: '诊断信息',
    },
    investigate: {
      fields: [
        { label: '信号类型', type: 'select', }
      ],
      select_signal: [
        { label: '2.4G无线', value: '2'},
        { label: '5G无线', value: '5'},
      ],
      info: {
        title: '扫描信息',
        head: ['无线名称', ' MAC地址', '频道', '加密方式', '信号强度'],
        distributed: [80, 70, 80, 80, 50],
      }
    }
  },
  //  按钮的语言文字
  btn: {
    login: '登录',
    save: '保存',
    submit: '提交',
    checkUpdate: '检查更新',
    update: '升级',
    confirm: '确定',
    cancel: '取消',
    disable: '禁用',
    enable: "启用",
    disconnect: '断开',
    reconnect: '重连',
    format: '格式化',
    mount: '挂载',
    uninstall : '卸载',
    iotest: '读写测试',
    start_scan: '开始扫描',
    refresh: "刷新",
    clear: "清空",
    startScan: "开始扫描",
    selected: "选择",
  },
  // 悬停提示信息
  tip: {
    close: '点击关闭',
  },
  time: {
    day: '天',
    hour: '小时',
    minute: '分',
    seconds: '秒',
  },
  operate: {
    add: '添加',
  },
  log_title: '日志信息',
  dialog: {
    alert: {
      title_text: '提示信息',
      close_tip: '点击关闭',
      need_input: '请输入',
    }
  },
  // document.title
  title: {
    home: '主页',
    login: '登录',
    router: '静态路由',
    terminal: '终端管理',
    qos: 'QoS限速',
    nat: 'NAT加速',
    visitor: '访客管理',
    signal: '信号调节',
    // 高级设置模块的页面title在advanced二级路由组件进行统一处理
    advanced: ['', '', '', '', ''],
    cloud_login: '云登录',
    cloud_control: '云管理',
    sys_upgrade: '系统更新',
    sys_backup: '备份恢复',
    sys_setting: '常规设置',
    diagnostics: '网络诊断',
    investigate: '基站勘察',
    scan: 'WiFi扫描',
  },
  // global notify
  notification: {
    loginPending: "登录中...",
    neterr: "网络错误或服务器错误, 请检查网络设置后重试",
    pwderr: "用户名或密码错误, 请重试",
    oldpwderr: "旧密码错误, 请重试",
    userNotExist: "用户不存在, 请重试",
    loginSuccess: "登录成功",
    logoutSuccess: "登出成功",
    changePwdSuccess: "修改密码成功",
    confirm_pwderr: "两次输入新密码不一致, 请重试",
    pwdShort: "密码长度不得小于5位",
    tokenTimeout: "token已过期，请重新登录",
    pwdLengthNotice: "wifi密码长度不得小于8位",
    operateFailed: "操作失败",
    operateSuccess: "操作成功",
    notice: "提示",
    lackBssid: "请输入访客网络名称",
    lackFile: "请选择文件或填写远程升级地址",
    typeValidIP: "请输入正确的IP地址",
    invalidFileType: "文件类型不正确",
    netErr: "网络错误",  // 远程升级网络出错
    uploadFileFailed: "上传文件失败",
    typeUserPwd: "请输入用户名或密码",
    IPOutOfRange: "IP地址不在规定范围内, 请重新输入",
    IPOrderError: "IP结束值要比起始值大",
    rebootSuccess: "重启成功",
    resetSuccess: "恢复出厂设置成功",
    confirmReset: "确定要恢复出厂设置吗？",
    sysupgradeLoading: "系统升级中，请稍候...",
    onlineUpgradeLoading: "在线升级中，请稍后...",
    updateSuccess: "升级成功",
    updateFailed: "升级失败",
    downloadFileFailed: "下载文件失败",
    sysbackupLoading: "系统恢复中，请稍候...",
    rebootLoading: "系统重启中，请稍候...",
    resetLoading: "系统重置中，请稍候...",
    routerDisconnect: "路由器网络错误，请检查路由器网络状态",
    ip_or_netmask_empty: "ip地址和子网掩码不能为空",
    ssidEmpty: "请填写无线名称",
  },
  hoverTitle: {
    downloadFile: "下载文件",
  },
  messageBox: {
    title: {
      info: "提示",
    },
  }
}
